package com.liu.entity;

import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Appraise {
    @TableId(type = IdType.AUTO)
    @Alias("ID")
    private Integer id;
    @Alias("医生")
    private Integer phyId;
    private Physician physician;
    @Alias("用户")
    private Integer userId;
    private User user;
    @Alias("评论")
    private String content;
    @Alias("评分")
    private Integer score;
}
